use Illuminate\Support\Facades\Storage;
$path = Storage::path('file.jpg');
use Illuminate\Support\Facades\Storage;
Storage::disk('local')->put('example.txt', 'Contents');
use Illuminate\Support\Facades\Storage;
Storage::disk('local')->put('example.txt', 'Contents');
$path = $request->file('avatar')->store(
'avatars', 'public'
);
$exists = Storage::disk('s3')->exists('file.jpg');